/*-------------------------------------------------------------------------
 *
 * parse_enr.c
 *	  处理短暂命名关系的解析器支持例程
 *
 * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 *
 * IDENTIFICATION
 *	  src/backend/parser/parse_enr.c
 *
 *-------------------------------------------------------------------------
 */
#include "postgres.h"

#include "parser/parse_enr.h"

bool name_matches_visible_ENR(ParseState *fc_pstate, const char *fc_refname)
{
	return (get_visible_ENR_metadata(fc_pstate->p_queryEnv, fc_refname) != NULL);
}

EphemeralNamedRelationMetadata
get_visible_ENR(ParseState *fc_pstate, const char *fc_refname)
{
	return get_visible_ENR_metadata(fc_pstate->p_queryEnv, fc_refname);
}
